projects
/
gtk4.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
0886ade
)
rendernodeparser: Default color to black
author
Benjamin Otte
<otte@redhat.com>
Sun, 12 May 2019 14:01:15 +0000
(16:01 +0200)
committer
Benjamin Otte
<otte@redhat.com>
Sun, 12 May 2019 15:28:19 +0000
(17:28 +0200)
Nobody wants to render transparent text.
gsk/gskrendernodeparser.c
patch
|
blob
|
history
diff --git
a/gsk/gskrendernodeparser.c
b/gsk/gskrendernodeparser.c
index 06b2b183c78c16877b22b557dac031f02f4eb48a..234ef487a44e4814d5ae8779e5aa8c9aaa90d382 100644
(file)
--- a/
gsk/gskrendernodeparser.c
+++ b/
gsk/gskrendernodeparser.c
@@
-942,7
+942,7
@@
parse_text_node (GtkCssParser *parser)
PangoFont *font = NULL;
double x = 0;
double y = 0;
- GdkRGBA color = { 0, 0, 0,
0
};
+ GdkRGBA color = { 0, 0, 0,
1
};
PangoGlyphString *glyphs = NULL;
const Declaration declarations[] = {
{ "font", parse_font, &font },